#!/bin/bash

# 检测参数是否为hello，如果是显示hello,how are you，如果没有参数，提示，不是则提示只能用hello

case $1 in
    "hello")
        echo "Hello, how are you?"
        ;;
    "")
        echo "You must input parameters, ex >$0 parameter1"
        ;;
    *)
        echo "Usage $0 {hello}"
        ;;
esac
